package com.yvon.maple.service.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yvon.boot.mybatis.model.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author : Yvon
 * @since : 2021-09-27
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("system_role_permission")
public class RolePermission extends BaseEntity implements Serializable {

    /**
     * 角色标识
     */
    private Long roleId;

    /**
     * 权限ID
     */
    private Long permissionId;

}
